<?php

abstract class DAO{
	
	protected  $database;
	
	public  function  __construct(){
		$this->database = new Database();
		$this->database->setUser("root");
		$this->database->setDatabase("qualitymed");	
	
	}

	public abstract function persist($object);
	
	public abstract function update($object);
	
	public abstract function delete($object);
	
	public abstract function query($object);
}
?>